:root{
  ---red:red
}

.box{
  background-color: var(---red);
  /* width: 300px; */
  height: 300px;
  width: clamp(100px,30%,200px);
  user-select: none;
}